import { EventHttp } from "../../../http/event"
const getEventTable = async (tableData, page, total) => {
  let size = 9
  let res = await EventHttp.getPageEvent(page, size)
  if (res.code == 200) {
    //console.log(res.result.data)
    tableData.value = res.result.data
    total.value = res.result.total
    //console.log(res.result.total)
  } else {
    console.log("分页请求没有处理过的事件列表失败")
  }
}
export { getEventTable }
